package org.jeecg.modules.demo3.fly.entity.assist.qun;

import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;

/**
 * @author wjn
 * @version V1.0
 * @date 2021/7/2 14:49
 * @Copyright © 2021/7/2 深圳卓翼航空无人机有限公司
 */
@Data
public class AxhkYwAgrplanes {
    private String id;// 主键
    private int serialNumber;// 序列号
    private String sign; // 制造商标识
    private String model;// 无人机类型
    private String agrPlaneModel;// 农机类型 (1、植保机  2、行业机  3、配件)
    private Double totalArea;// 作业总时间
    private String realSign;// 实名登记标识
    private String operator;// 运营人
    private String activationState;// 激活状态 (1、已激活  2、未激活  3、调试)
    private String salesStatus;// 销售状态  (1、已售  2、自用)
    private boolean Auser;// 用户(YES、存在   NO、不存在)
    private String userId;//接管飞机用户id
    private String userName; //用户真实姓名
    private int astate; //手机App用户连接服务器标识
    private int connStatus; //(当前状态   1、未接管  2、已接管  3、已连接)

    public AxhkYwAgrplanes() {
    }

    public AxhkYwAgrplanes(String id, int serialNumber, String sign, String model, String agrPlaneModel, Double totalArea, String realSign, String operator, String activationState, String salesStatus, boolean auser, String userId, String userName, int astate, int connStatus) {
        this.id = id;
        this.serialNumber = serialNumber;
        this.sign = sign;
        this.model = model;
        this.agrPlaneModel = agrPlaneModel;
        this.totalArea = totalArea;
        this.realSign = realSign;
        this.operator = operator;
        this.activationState = activationState;
        this.salesStatus = salesStatus;
        Auser = auser;
        this.userId = userId;
        this.userName = userName;
        this.astate = astate;
        this.connStatus = connStatus;
    }


//        public AxhkYwAgrplanes(String id, int serialNumber, String sign, String model, String agrPlaneModel, Double totalArea,
//                           String realSign, String operator, String activationState, String salesStatus, boolean Auser, String userId
//            , String userName, int astate) {
//        this.id = id;
//        this.serialNumber = serialNumber;
//        this.sign = sign;
//        this.model = model;
//        this.agrPlaneModel = agrPlaneModel;
//        this.totalArea = totalArea;
//        this.realSign = realSign;
//        this.operator = operator;
//        this.activationState = activationState;
//        this.salesStatus = salesStatus;
//        this.Auser = Auser;
//        this.userId = userId;
//        this.userName = userName;
//        this.astate = astate;
//    }
}
